package com.chorye.datasource;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * DruidDataSourceAutoConfigure会注入一个DataSourceWrapper，其会在原生的spring.datasource下找url,username,password等
 */
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
public class DatasourcePlusApplication {

    public static void main(String[] args) {
        SpringApplication.run(DatasourcePlusApplication.class, args);
    }

}

